<template>
  <b-jumbotron text-variant="white" class="logoheader">
    <b-img-lazy :src="logoImg" alt="萧然技术博客" fluid></b-img-lazy>
  </b-jumbotron>
</template>

<script>
export default {
  name: 'LogoImg',
  props: {
  },
  data () {
    return {
      logoImg: ''
    }
  },
  methods: {
    getLogoImg: async function () {
      const rst = await this.axios.get('getWebSetting/logoImg')
      this.logoImg = rst.data.data
    }
  },
  created () {
    this.getLogoImg()
  }
}
</script>

<style scoped>

</style>
